Optimal. Leaf size=159 \[ -\frac{a+b \tan ^{-1}\left (c x^2\right )}{3 x^3}-\frac{b c^{3/2} \log \left (c x^2-\sqrt{2} \sqrt{c} x+1\right )}{6 \sqrt{2}}+\frac{b c^{3/2} \log \left (c x^2+\sqrt{2} \sqrt{c} x+1\right )}{6 \sqrt{2}}+\frac{b c^{3/2} \tan ^{-1}\left (1-\sqrt{2} \sqrt{c} x\right )}{3 \sqrt{2}}-\frac{b c^{3/2} \tan ^{-1}\left (\sqrt{2} \sqrt{c} x+1\right )}{3 \sqrt{2}}-\frac{2 b c}{3 x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.104142, antiderivative size = 159, normalized size of antiderivative = 1., number of steps used = 11, number of rules used = 8, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.571, Rules used = {5033, 325, 297, 1162, 617, 204, 1165, 628} \[ -\frac{a+b \tan ^{-1}\left (c x^2\right )}{3 x^3}-\frac{b c^{3/2} \log \left (c x^2-\sqrt{2} \sqrt{c} x+1\right )}{6 \sqrt{2}}+\frac{b c^{3/2} \log \left (c x^2+\sqrt{2} \sqrt{c} x+1\right )}{6 \sqrt{2}}+\frac{b c^{3/2} \tan ^{-1}\left (1-\sqrt{2} \sqrt{c} x\right )}{3 \sqrt{2}}-\frac{b c^{3/2} \tan ^{-1}\left (\sqrt{2} \sqrt{c} x+1\right )}{3 \sqrt{2}}-\frac{2 b c}{3 x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5033
Rule 325
Rule 297
Rule 1162
Rule 617
Rule 204
Rule 1165
Rule 628
Rubi steps
\begin{align*} \int \frac{a+b \tan ^{-1}\left (c x^2\right )}{x^4} \, dx &=-\frac{a+b \tan ^{-1}\left (c x^2\right )}{3 x^3}+\frac{1}{3} (2 b c) \int \frac{1}{x^2 \left (1+c^2 x^4\right )} \, dx\\ &=-\frac{2 b c}{3 x}-\frac{a+b \tan ^{-1}\left (c x^2\right )}{3 x^3}-\frac{1}{3} \left (2 b c^3\right ) \int \frac{x^2}{1+c^2 x^4} \, dx\\ &=-\frac{2 b c}{3 x}-\frac{a+b \tan ^{-1}\left (c x^2\right )}{3 x^3}+\frac{1}{3} \left (b c^2\right ) \int \frac{1-c x^2}{1+c^2 x^4} \, dx-\frac{1}{3} \left (b c^2\right ) \int \frac{1+c x^2}{1+c^2 x^4} \, dx\\ &=-\frac{2 b c}{3 x}-\frac{a+b \tan ^{-1}\left (c x^2\right )}{3 x^3}-\frac{1}{6} (b c) \int \frac{1}{\frac{1}{c}-\frac{\sqrt{2} x}{\sqrt{c}}+x^2} \, dx-\frac{1}{6} (b c) \int \frac{1}{\frac{1}{c}+\frac{\sqrt{2} x}{\sqrt{c}}+x^2} \, dx-\frac{\left (b c^{3/2}\right ) \int \frac{\frac{\sqrt{2}}{\sqrt{c}}+2 x}{-\frac{1}{c}-\frac{\sqrt{2} x}{\sqrt{c}}-x^2} \, dx}{6 \sqrt{2}}-\frac{\left (b c^{3/2}\right ) \int \frac{\frac{\sqrt{2}}{\sqrt{c}}-2 x}{-\frac{1}{c}+\frac{\sqrt{2} x}{\sqrt{c}}-x^2} \, dx}{6 \sqrt{2}}\\ &=-\frac{2 b c}{3 x}-\frac{a+b \tan ^{-1}\left (c x^2\right )}{3 x^3}-\frac{b c^{3/2} \log \left (1-\sqrt{2} \sqrt{c} x+c x^2\right )}{6 \sqrt{2}}+\frac{b c^{3/2} \log \left (1+\sqrt{2} \sqrt{c} x+c x^2\right )}{6 \sqrt{2}}-\frac{\left (b c^{3/2}\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1-\sqrt{2} \sqrt{c} x\right )}{3 \sqrt{2}}+\frac{\left (b c^{3/2}\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1+\sqrt{2} \sqrt{c} x\right )}{3 \sqrt{2}}\\ &=-\frac{2 b c}{3 x}-\frac{a+b \tan ^{-1}\left (c x^2\right )}{3 x^3}+\frac{b c^{3/2} \tan ^{-1}\left (1-\sqrt{2} \sqrt{c} x\right )}{3 \sqrt{2}}-\frac{b c^{3/2} \tan ^{-1}\left (1+\sqrt{2} \sqrt{c} x\right )}{3 \sqrt{2}}-\frac{b c^{3/2} \log \left (1-\sqrt{2} \sqrt{c} x+c x^2\right )}{6 \sqrt{2}}+\frac{b c^{3/2} \log \left (1+\sqrt{2} \sqrt{c} x+c x^2\right )}{6 \sqrt{2}}\\ \end{align*}
Mathematica [A] time = 0.0517281, size = 177, normalized size = 1.11 \[ -\frac{a}{3 x^3}-\frac{b c^{3/2} \log \left (c x^2-\sqrt{2} \sqrt{c} x+1\right )}{6 \sqrt{2}}+\frac{b c^{3/2} \log \left (c x^2+\sqrt{2} \sqrt{c} x+1\right )}{6 \sqrt{2}}-\frac{b c^{3/2} \tan ^{-1}\left (\frac{2 \sqrt{c} x-\sqrt{2}}{\sqrt{2}}\right )}{3 \sqrt{2}}-\frac{b c^{3/2} \tan ^{-1}\left (\frac{2 \sqrt{c} x+\sqrt{2}}{\sqrt{2}}\right )}{3 \sqrt{2}}-\frac{b \tan ^{-1}\left (c x^2\right )}{3 x^3}-\frac{2 b c}{3 x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.029, size = 132, normalized size = 0.8 \begin{align*} -{\frac{a}{3\,{x}^{3}}}-{\frac{b\arctan \left ( c{x}^{2} \right ) }{3\,{x}^{3}}}-{\frac{bc\sqrt{2}}{12}\ln \left ({ \left ({x}^{2}-\sqrt [4]{{c}^{-2}}x\sqrt{2}+\sqrt{{c}^{-2}} \right ) \left ({x}^{2}+\sqrt [4]{{c}^{-2}}x\sqrt{2}+\sqrt{{c}^{-2}} \right ) ^{-1}} \right ){\frac{1}{\sqrt [4]{{c}^{-2}}}}}-{\frac{bc\sqrt{2}}{6}\arctan \left ({x\sqrt{2}{\frac{1}{\sqrt [4]{{c}^{-2}}}}}+1 \right ){\frac{1}{\sqrt [4]{{c}^{-2}}}}}-{\frac{bc\sqrt{2}}{6}\arctan \left ({x\sqrt{2}{\frac{1}{\sqrt [4]{{c}^{-2}}}}}-1 \right ){\frac{1}{\sqrt [4]{{c}^{-2}}}}}-{\frac{2\,bc}{3\,x}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.52514, size = 369, normalized size = 2.32 \begin{align*} \frac{1}{12} \,{\left ({\left (c^{2}{\left (\frac{\sqrt{2} \log \left (\sqrt{c^{2}} x^{2} + \sqrt{2}{\left (c^{2}\right )}^{\frac{1}{4}} x + 1\right )}{{\left (c^{2}\right )}^{\frac{3}{4}}} - \frac{\sqrt{2} \log \left (\sqrt{c^{2}} x^{2} - \sqrt{2}{\left (c^{2}\right )}^{\frac{1}{4}} x + 1\right )}{{\left (c^{2}\right )}^{\frac{3}{4}}} - \frac{\sqrt{2} \log \left (\frac{2 \, \sqrt{c^{2}} x - \sqrt{2} \sqrt{-\sqrt{c^{2}}} + \sqrt{2}{\left (c^{2}\right )}^{\frac{1}{4}}}{2 \, \sqrt{c^{2}} x + \sqrt{2} \sqrt{-\sqrt{c^{2}}} + \sqrt{2}{\left (c^{2}\right )}^{\frac{1}{4}}}\right )}{\sqrt{c^{2}} \sqrt{-\sqrt{c^{2}}}} - \frac{\sqrt{2} \log \left (\frac{2 \, \sqrt{c^{2}} x - \sqrt{2} \sqrt{-\sqrt{c^{2}}} - \sqrt{2}{\left (c^{2}\right )}^{\frac{1}{4}}}{2 \, \sqrt{c^{2}} x + \sqrt{2} \sqrt{-\sqrt{c^{2}}} - \sqrt{2}{\left (c^{2}\right )}^{\frac{1}{4}}}\right )}{\sqrt{c^{2}} \sqrt{-\sqrt{c^{2}}}}\right )} - \frac{8}{x}\right )} c - \frac{4 \, \arctan \left (c x^{2}\right )}{x^{3}}\right )} b - \frac{a}{3 \, x^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.8576, size = 900, normalized size = 5.66 \begin{align*} \frac{4 \, \sqrt{2} \left (b^{4} c^{6}\right )^{\frac{1}{4}} x^{3} \arctan \left (-\frac{b^{4} c^{6} + \sqrt{2} \left (b^{4} c^{6}\right )^{\frac{1}{4}} b^{3} c^{5} x - \sqrt{2} \sqrt{b^{6} c^{10} x^{2} + \sqrt{b^{4} c^{6}} b^{4} c^{6} + \sqrt{2} \left (b^{4} c^{6}\right )^{\frac{3}{4}} b^{3} c^{5} x} \left (b^{4} c^{6}\right )^{\frac{1}{4}}}{b^{4} c^{6}}\right ) + 4 \, \sqrt{2} \left (b^{4} c^{6}\right )^{\frac{1}{4}} x^{3} \arctan \left (\frac{b^{4} c^{6} - \sqrt{2} \left (b^{4} c^{6}\right )^{\frac{1}{4}} b^{3} c^{5} x + \sqrt{2} \sqrt{b^{6} c^{10} x^{2} + \sqrt{b^{4} c^{6}} b^{4} c^{6} - \sqrt{2} \left (b^{4} c^{6}\right )^{\frac{3}{4}} b^{3} c^{5} x} \left (b^{4} c^{6}\right )^{\frac{1}{4}}}{b^{4} c^{6}}\right ) + \sqrt{2} \left (b^{4} c^{6}\right )^{\frac{1}{4}} x^{3} \log \left (b^{6} c^{10} x^{2} + \sqrt{b^{4} c^{6}} b^{4} c^{6} + \sqrt{2} \left (b^{4} c^{6}\right )^{\frac{3}{4}} b^{3} c^{5} x\right ) - \sqrt{2} \left (b^{4} c^{6}\right )^{\frac{1}{4}} x^{3} \log \left (b^{6} c^{10} x^{2} + \sqrt{b^{4} c^{6}} b^{4} c^{6} - \sqrt{2} \left (b^{4} c^{6}\right )^{\frac{3}{4}} b^{3} c^{5} x\right ) - 8 \, b c x^{2} - 4 \, b \arctan \left (c x^{2}\right ) - 4 \, a}{12 \, x^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 55.5763, size = 704, normalized size = 4.43 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.26766, size = 215, normalized size = 1.35 \begin{align*} -\frac{1}{12} \, b c^{3}{\left (\frac{2 \, \sqrt{2} \sqrt{{\left | c \right |}} \arctan \left (\frac{1}{2} \, \sqrt{2}{\left (2 \, x + \frac{\sqrt{2}}{\sqrt{{\left | c \right |}}}\right )} \sqrt{{\left | c \right |}}\right )}{c^{2}} + \frac{2 \, \sqrt{2} \sqrt{{\left | c \right |}} \arctan \left (\frac{1}{2} \, \sqrt{2}{\left (2 \, x - \frac{\sqrt{2}}{\sqrt{{\left | c \right |}}}\right )} \sqrt{{\left | c \right |}}\right )}{c^{2}} - \frac{\sqrt{2} \sqrt{{\left | c \right |}} \log \left (x^{2} + \frac{\sqrt{2} x}{\sqrt{{\left | c \right |}}} + \frac{1}{{\left | c \right |}}\right )}{c^{2}} + \frac{\sqrt{2} \sqrt{{\left | c \right |}} \log \left (x^{2} - \frac{\sqrt{2} x}{\sqrt{{\left | c \right |}}} + \frac{1}{{\left | c \right |}}\right )}{c^{2}}\right )} - \frac{2 \, b c x^{2} + b \arctan \left (c x^{2}\right ) + a}{3 \, x^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]